lcTIN_GenFill Home

Creates raster image of TIN color filling.

 BOOL lcTIN_GenFill (
   HANDLE hLcWnd,
   double Zstep,
   double PixelSize
 );

Parameters
hLcWnd
  Handle to LiteCAD graphics window.
Zstep
  Defines a number of color gradations, as Ncolors = (Zmax - Zmin) / Zstep.
Where Zmax and Zmin - max and min Z-coordinates of TIN points. Max number of colors is 256
PixelSize
  Drawing units per pixel. Defines dimensions of the raster image, as
W = (int)((Xmax - Xmin) / PixelSize)
H = (int)((Ymax - Ymin) / PixelSize)
Where Xmax and Xmin - max and min X-coordinates of TIN points,
Ymax and Ymin - max and min Y-coordinates of TIN points.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

The sample of TIN color filling (Ncolors=33):